import HttpUtil from '@/common/HttpUtil'

const MeteorologicalViewApi = {
  findAllRealData(params) {
    let postUrl = process.env.SURVEY_DOMAIN + '/device/weather/station/findAllRealData'
    return HttpUtil.postJSON(postUrl, params)
  },
  getWeatherStationList () {
    let postUrl = process.env.SURVEY_DOMAIN + '/device/weather/station/getList'
    return HttpUtil.get(postUrl, null)
  },
  findRealDataById (params) {
    let postUrl = process.env.SURVEY_DOMAIN + '/device/weather/station/findRealData'
    return HttpUtil.postJSON(postUrl, params)
  },
}
export default MeteorologicalViewApi
